<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  <meta name="apple-mobile-web-app-capable" content="yes"/>
  <meta name="apple-touch-fullscreen" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="format-detection" content="telephone=no,email=no"/>
    <link rel="stylesheet" href="__PUBLIC__/scan/css/style.css" />
  <title>管理员扫码</title>
</head>
<body>
  <div class="box">
    <div id="finger">
      <div id="finger_box">
        <img id="zhiwen" src="__PUBLIC__/scan/images/zhiwen.png" alt="" />
        <img id="line" src="__PUBLIC__/scan/images/line.png" alt="" />
        <p id="info"></p>
      </div>
    </div>
  </div>
  <script src="__PUBLIC__/scan/js/jquery.min.js"></script>
  <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  <script>
      wx.config({
    debug: false,
    appId: '<?php echo $signpackage["appId"];?>',
    timestamp: '<?php echo $signpackage["timestamp"];?>',
    nonceStr: '<?php echo $signpackage["nonceStr"];?>',
    signature: '<?php echo $signpackage["signature"];?>',
    jsApiList: [
    'scanQRCode',
    ]
    });

    var $info=$('#info'),$zhiwen=$('#zhiwen'),$line=$('#line');
    $(function(){
      $zhiwen.click(function(){
            wx.scanQRCode({  
                needResult : 1,// 默认为0，扫描结果由微信处理，1则直接返回扫描结果，  
                scanType : [ "qrCode", "barCode" ], // 可以指定扫二维码还是一维码，默认二者都有  
                success : function(res) {  
                    var result = res.resultStr; // 当needResult 为 1 时，扫码返回的结果
                    //alert(result); 
                    //$.post('__APP__/Scan/isbmreturn',{'isbm',result});
                    window.location.href= "__APP__/Bookent/dolend/info/" + result;
                }  
            });
      });
    });
  </script>

</body>
</html>

                    window.location.href= "__APP__/Scan/isbmreturn_2/isbm/" + result;



                      <div class="searchBox">
                <form  method="post" action="__APP__/Scan/isbmreturn">
                        <input type="text" id="keyword" name="keyword" placeholder="" autocomplete="off">
                </form>